package com.fastloan.utils;

import com.kawins.spring.ContextProperty;

/**
 * @author yanwe
 * createTime 2017-12-2017/12/8 10:27
 */
public class PropertiesUtil {

    public static String getProperty(String name){
        return String.valueOf(ContextProperty.getContextProperty(name));
    }

    public static <T> T getProperty(String name,Class<T> clazz){
        return (T) ContextProperty.getContextProperty(name);
    }
}
